package com.wksc.authority.domain;

import java.util.List;

/**
 * @author Zero
 */
public class Func {
    //功能名称，必须
    private String name;
    //功能权限代码，必须保证唯一。非必须，当funcFlag=true时，为必填项
    private String code;
    //功能请求的URL地址。非必须，当funcFlag=true时，为必填项
    private List<String> urls;

    public Func() {}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<String> getUrls() {
        return urls;
    }

    public void setUrls(List<String> urls) {
        this.urls = urls;
    }

    @Override
    public String toString() {
        return "Func{" +
                "name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", urls=" + urls +
                '}';
    }
}
